package com.leizi.igym.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leizi.igym.domain.Trainer;
import com.leizi.igym.dto.TrainerAddDTO;
import com.leizi.igym.dto.TrainerDTO;
import com.leizi.igym.dto.TrainerPageQueryDTO;
import com.leizi.igym.vo.TrainerVO;

import java.util.List;

/**
* @author PC
* @description 针对表【t_trainer(教练表)】的数据库操作Service
* @createDate 2024-04-07 08:44:33
*/
public interface TrainerService extends IService<Trainer> {

    boolean saveInAdmin(TrainerAddDTO dto);

    boolean deleteTrainerInAdmin(Long id);

    boolean deleteTrainerBatchInAdmin(List<Long> ids);

    boolean updateTrainer(TrainerDTO dto);

    Page<TrainerVO> getTrainerPage(TrainerPageQueryDTO dto);

    TrainerVO getByIdWithExpertise(Long id);

    boolean identifyTrainer(Long id, Integer isIdentify);

    List<TrainerVO> getAll();

}
